package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.system.domain.Goods;
import com.ruoyi.system.domain.Purchasedetails;

/**
 * 采购单详情Service接口
 * 
 * @author xy
 * @date 2023-12-27
 */
public interface IPurchasedetailsService 
{
    /**
     * 查询采购单详情
     * 
     * @param purchaseDetailsID 采购单详情主键
     * @return 采购单详情
     */
    public List<Goods> selectPurchasedetailsByPurchaseDetailsID(Long purchaseDetailsID);

    /**
     * 查询采购单详情列表
     * 
     * @param purchasedetails 采购单详情
     * @return 采购单详情集合
     */
    public List<Purchasedetails> selectPurchasedetailsList(Purchasedetails purchasedetails);

    /**
     * 新增采购单详情
     * 
     * @param purchasedetails 采购单详情
     * @return 结果
     */
    public int insertPurchasedetails(Purchasedetails purchasedetails);

    /**
     * 修改采购单详情
     * 
     * @param purchasedetails 采购单详情
     * @return 结果
     */
    public int updatePurchasedetails(Purchasedetails purchasedetails);

    /**
     * 批量删除采购单详情
     * 
     * @param purchaseDetailsIDs 需要删除的采购单详情主键集合
     * @return 结果
     */
    public int deletePurchasedetailsByPurchaseDetailsIDs(Long[] purchaseDetailsIDs);

    /**
     * 删除采购单详情信息
     * 
     * @param purchaseDetailsID 采购单详情主键
     * @return 结果
     */
    public int deletePurchasedetailsByPurchaseDetailsID(Long purchaseDetailsID);
}
